<template>
  <div>
    <div class="max">
      <span>{{ times }}</span>
      <div>{{ name }}</div>
      <div class="icon">{{ money }}</div>
      <div>{{ restaurant }}</div>
      <div class="vant">
        <van-icon name="arrow" />
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: ["times", "name", "money", "restaurant"],
};
</script>

<style lang="less" scoped>
.max {
  background-color: greenyellow;
  width: 95vw;
  height: 20vw;
  margin-left: 5vw;

  div {
    margin-top: 1vw;
    font-size: 3.2vw;
  }
  .icon {
    color: red;
  }
  .vant {
    float: right;
    margin-top: -10vw;
    font-size: 4.2667vw;
  }
}
</style>